﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace giaoxuhaison.Models
{
    public class UploadFileModel
    {
        [Required]
        [Display(Name = "Tên hình")]
        public string FileName { get; set; }

        [Required]
        [Display(Name = "FileContent")]
        public string FileContent { get; set; }

        [Required]
        [Display(Name = "Đường dẫn")]
        public string SavePath { get; set; }

        public string Folder { get; set; }
    }

    public class ListFileModel
    {
        [Required]
        [Display(Name = "FileName")]
        public string FileName { get; set; }
    }
}